package com.ld.manageBook.service;

import com.ld.manageBook.bean.Books;
import com.ld.manageBook.bean.User;

import java.util.List;

public interface BookService {
	public List<Books> getAllBooks();
	public int deleteBookById(Integer id);
	public Books getBookById(Integer id);
	public int changeBookById(Books book);
	public int addBook(Books book);
	public Books getBookByName(String name);
	public int updateBookNumber(Integer id,Integer number);
	public int getBookNumberByName(String name);
	public int returnBook(String name,Integer returnNumber);
}
